#ifndef LIS3DH_HPP
#define LIS3DH_HPP

class LIS3DH {
public:
    virtual bool open(void) = 0;
    virtual bool close(void) = 0;
    virtual int read(void) = 0;
};

class _LIS3DH : public LIS3DH{
public:
    class Portable{
    public:
        virtual bool init(void) = 0;
        virtual bool deinit(void) = 0;
    };
public:
    _LIS3DH(Portable *portable);
    virtual bool open(void);
    virtual bool close(void);
    virtual int read(void);
protected:
    Portable *portable;
};


#endif
